package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.stereotype.Service;


@Service
public interface SensitiveManagementService extends IService<WmSensitive> {

    /**
     * 查询列表
     * @param sensitiveDto
     * @return
     */
    ResponseResult select(WmSensitiveDto sensitiveDto);

    /**
     * 保存
     * @param wmSensitive
     */
    void sensitiveWord(WmSensitive wmSensitive);

    /**
     * 查询
     * @param wmSensitive
     */
    void updateSensitive(WmSensitive wmSensitive);

    /**
     * 删除
     * @param id
     */
    void delete(Integer id);
}
